package com.ruoyi.ap.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = true)
@Data
/*
  产品分类对象 ap_product_category
  @author HuaQP
  @date 2023-09-19
 */
public class ProductCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    /** 删除标识 */
    private Integer delFlag;
}
